package com.swust.monitorProject.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.swust.monitorProject.dto.UserDto;
import com.swust.monitorProject.entity.Dept;
import com.swust.monitorProject.entity.QUser;

public interface IDeptService extends IService<Dept> {
    IPage<UserDto> pageUser(Page<UserDto> page, QUser user);

    Boolean updateDeptCata(Long deptId, String newCata);

    Boolean createDept(Dept dept);
}